package com.seecen.mapper;

import com.seecen.pojo.Favorites;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author W
* @description 针对表【t_favorites(用户收藏表)】的数据库操作Mapper
* @createDate 2025-07-21 12:57:25
* @Entity com.seecen.pojo.Favorites
*/
public interface FavoritesMapper extends BaseMapper<Favorites> {

    Integer deleteByRecipeId(@Param("recipeId") Integer recipeId);

    List<Integer> selectByUserId(@Param("userId") Integer userId);
}




